package com.wlyuan.open.scanner.domain.message;

import lombok.Data;

/**
 * @author lijing
 * @description
 */
@Data
public class MessageData {

    /**
     * 当前表
     */
    private String table;
    /**
     * 现数据
     */
    private String data;

    /**
     * 之前数据
     */
    private String beforeData;
    /**
     * 主键id
     */
    private Long id;

    public MessageData(String table, String data) {
        this.table = table;
        this.data = data;
    }

    public MessageData(String table, String data, String beforeData) {
        this.table = table;
        this.data = data;
        this.beforeData = beforeData;
    }
}
